@import "./styles/_variables.scss";
html,
body,
#app {
  margin: 0;
  padding: 0;
}

html.dark {
  background: #222;
  color: var(--background-color);
}

blockquote,
body,
button,
dd,
dl,
dt,
fieldset,
form,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
input,
legend,
li,
ol,
p,
pre,
td,
textarea,
th,
ul {
  margin: 0;
  padding: 0;
}

body {
}

*,
::after,
::before {
  box-sizing: border-box;
}

* {
  font-family: Helvetica, Pingfang SC, Microsoft YaHei, STHeiti, Verdana, Arial,
    Tahoma, sans-serif;
}

ul,
li {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--text-1-color);
  cursor: pointer;
}

.el-header {
  --el-header-padding: 0 0 !important;
  --el-header-height: auto !important;
}

.main-container {
  display: flex;
}
.side-bar {
  height: calc(100vh - 72px);
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  padding-top: 16px;
  overflow: visible;
  padding-right: 10px;
}

.main-content {
  padding: 10px;
  width: 100%;
}

.modile {
  .main-content {
    padding: 0;
  }

  .container .note .interaction {
    min-width: 0;
  }

  .container .note {
    border: none;
  }
}

@media screen and (min-width: 1728px) {
  .side-bar {
    width: 266.66667px;
    margin-left: 16px;
  }
}

@media screen and (min-width: 1424px) and (max-width: 1727px) {
  .side-bar {
    width: calc(-21.33333px + 16.66667vw);
    margin-left: 16px;
  }
}

@media screen and (min-width: 1192px) and (max-width: 1423px) {
  .side-bar {
    width: calc(-16.8px + 20vw);
    margin-left: 12px;
  }
}

@media screen and (min-width: 960px) and (max-width: 1191px) {
  .side-bar {
    width: calc(-18px + 25vw);
    margin-left: 12px;
  }
}

@media screen and (min-width: 696px) and (max-width: 959px) {
  .side-bar {
    display: none;
  }
}

@media screen and (max-width: 695px) {
  .side-bar {
    display: none;
  }
}

.tags,
.map {
  display: flex;
  min-height: 20px;
  color: var(--text-l2-color);
  font-size: 12px;
  transition: color 1s;
  flex-direction: row;
  justify-content: flex-start;
  align-content: flex-end;
  flex-wrap: wrap;
  align-items: flex-end;
}

.el-carousel__arrow {
  background-color: var(--arrow-background) !important;
}

.index-menu {
  .el-menu--popup {
    min-width: 100px;
  }
}

.el-dialog {
  border-radius: 15px !important;
}

.el-timeline-item__wrapper {
  text-align: left;
}
